<?php
/**
 * This file is form http://findcat.cn
 *
 * @link     https://findcat.cn
 * @email    1476982312@qq.com
 */
namespace Blog\Seeder\Admin\Test;

use Carbon\Carbon;
use App\Models\EveryDayContent;
use Illuminate\Database\Seeder;

class EveryDayContentTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        $data = [
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
            [
                'status'        => true,
                'admin_user_id' => '1',
                'title'         => '2016年01月05日星期二',
                'content'       => 'Do not let what you cannot do interfere with what you can do.',
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
        ];

        foreach ($data as $datum) {
            EveryDayContent::query()->insert($datum);
        }
    }
}
